package raj.scr;

import java.awt.BorderLayout;
import java.awt.GridLayout;

import javax.swing.JButton;
import javax.swing.JFrame;
import javax.swing.JLabel;
import javax.swing.JPanel;
import javax.swing.JTextField;

public class DataManagementForm extends JFrame{
	
	private JLabel lForm;
	private JPanel dataPanel;
	private JButton bStudentRecord;
	private JButton bCourseRecord;
	private  JButton bRegistrationRecord;
public DataManagementForm(){
	setFields();
	this.setContentPane(dataPanel);
}





public JButton getbStudentRecord() {
	return bStudentRecord;
}





public JButton getbCourseRecord() {
	return bCourseRecord;
}





public JButton getbRegistrationRecord() {
	return bRegistrationRecord;
}





public JPanel getDataPanel() {
	return dataPanel;
}





public void setDataPanel(JPanel dataPanel) {
	this.dataPanel = dataPanel;
}





public void setFields(){
	dataPanel=new JPanel();
 //   submissionPanel.setLayout(new GridLayout(4,1));
	lForm=new JLabel("   Data Retrival Form");
	bStudentRecord=new JButton("Student DataBase");
	bCourseRecord=new JButton("Course DataBase");
	bRegistrationRecord=new JButton("Registration DataBase");
	dataPanel.add(lForm);
	dataPanel.add(bStudentRecord);
	dataPanel.add(bCourseRecord);
	dataPanel.add(bRegistrationRecord);
	
	
}
}// class closer
